package com.outfood.config;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.client.RestTemplate;

/**
 * @Author huisonglin
 * @Description
 * @PackageName outfood-platform
 * @Package com.outfood.config
 * @Date 2024-03-05 11:46
 * @Version 1.0
 */
@Configuration
public class RestTemplateConfig {


    @Bean
    public RestTemplate RestTemplate(){
        RestTemplate restTemplate = new RestTemplate();
        return restTemplate;
    }
}
